﻿using System;
using System.Net;

namespace Wala.Connection.Argument
{
    public class NotifyEventArgs:EventArgs
    {
        private int code;
        private string info;
        private object data;

        public object Data
        {
            get { return data; }
        }

        public string Info
        {
            get { return info; }
        }

        public int Code
        {
            get { return code; }
        }

        public NotifyEventArgs()
        {

        }

        public NotifyEventArgs(int code)
        {
            this.code = code;
        }

        public NotifyEventArgs(int code,string info)
        {
            this.code = code;
            this.info = info;
        }

        public NotifyEventArgs(int code, object data)
        {
            this.code = code;
            this.data = data;
        }
    }
}
